package com.lanxin.oa.personnel.dao;

import com.lanxin.base.BaseDao;
import com.lanxin.bean.JcBasicdatavalue;
import com.lanxin.bean.ZzDepartment;
import com.lanxin.bean.ZzEmployee;
import com.lanxin.util.PageBean;

import java.util.List;

public interface DeptDao extends BaseDao {

   // public List<ZzDepartment> listDeptAll(ZzDepartment dept);

    public List<ZzDepartment> selectDept();

    public List<JcBasicdatavalue> selectBasic();

    public ZzDepartment selectByName(String deptName,Integer oid);

    public List<ZzDepartment> selectDeptName();

    public ZzDepartment deptJob(Integer oid);

    public List<ZzEmployee> selectEmpName(Integer deptid,Integer jobid);

    public ZzDepartment selectDeptById(Integer oid);

    public PageBean<ZzDepartment> selectDeptPage(Integer page,Integer pageSize,ZzDepartment dept);
}
